package com.dalin.platform.etl.action;

import com.dalin.framework.action.StrutsTwoAction;
import com.dalin.platform.etl.service.EtlService;
import com.dalin.platform.etl.vo.EtlDatabaseInfoVo;
/*****************************************************************************
 * @content: 类信息                                                   *
 * @author : 那建林                                                                                                                                 *
 * @crtDate: 2010-11-25                                                     *
 * @modDate: 2010-11-25                                                     *
 * @version: 1.00                                                           *
 ****************************************************************************/
public class DatabaseInfoFindAction extends StrutsTwoAction{
	private EtlService etlService; // 
    private Long id; // 



													

    public String execute()throws Exception {
        super.printInfo("", "===== this action begin");
        EtlDatabaseInfoVo vo = etlService.findEtlDatabaseInfoById(id);
        setResContent(vo);
        super.printInfo("", "===== this action end");
        return null;
    }

    public EtlService getEtlService() {
		return etlService;
	}



	public void setEtlService(EtlService etlService) {
		this.etlService = etlService;
	}


    public Long getId() {
        return id;

    }

    public void setId(Long id) {
        this.id = id;

    }

}
